home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / var / lib / dpkg / info / bash.postrm < prev    next >
Text File  |  2008-05-12  |  513b  |  26 lines

  1. #! /bin/sh
  2.  
  3. set -e
  4.  
  5. case "$1" in
  6.     upgrade|failed-upgrade|abort-install|abort-upgrade)
  7.     ;;
  8.     remove|purge|disappear)
  9.     if [ -x /usr/sbin/remove-shell ] && [ -f /etc/shells ]; then
  10.         /usr/sbin/remove-shell /bin/bash
  11.         /usr/sbin/remove-shell /bin/rbash
  12.     fi
  13.     ;;
  14.     *)
  15.         echo "postrm called with unknown argument \`$1'" >&2
  16.         exit 1
  17.     ;;
  18. esac
  19.  
  20. # Automatically added by dh_installmenu
  21. if [ -x "`which update-menus 2>/dev/null`" ]; then update-menus ; fi
  22. # End automatically added section
  23.  
  24.  
  25. exit 0
  26.